package com.hndzyu.yd.bean;

import com.google.gson.annotations.SerializedName;

import java.util.HashMap;
import java.util.List;

/**
 * Created by zz9527 on 2018/12/4.
 */
public class GameDetail {


    /**
     * errorCode : 0
     * data : {"IDTask":410,"Logo":"http://pic.zhuanke.cn/zhuanke_uploads/android_backend/20180920/20180920102103_zk_46275.png","AppName":"佰乐斗地主","CredentialID":"com.yhxk.qpgame.yh1899","Content":{"0":"1、任务说明：支持老用户。请先下载安装注册帐号登录，登录成功后返回当前界面确认帐号信息，帐号显示才能获得奖励","2":"2、试玩范围：豪车俱乐部试玩房","4":"3、温馨提示：任务进行中期间请勿更换手机或者游戏帐号登录"},"OpenInstallGuide":false,"MtTaskFeeSum":"28426.0","GoldSum":"12791.8","Unit":"元","UrlDownload":"http://cdn.1689game.com/android/1689game_v1.3-3028.apk","Days":13,"AccountInfo":[{"Key":"用户ID","Val":"602271"},{"Key":"累计赢金","Val":"0"},{"Key":"游戏时间","Val":"386秒"},{"Key":"累计充值","Val":"0"}],"SubTaskList":[{"Index":1,"Title":"新手奖励","Sort":100001,"List":{"1":{"TaskContent":"下载注册并试玩5分钟","State":2,"Index":1,"MtTaskFee":"1.0","TaskGold":"0.5","Unit":"元"}}},{"Index":2,"Title":"赢金奖励","Sort":100002,"List":{"1":{"TaskContent":"累计赢取2万金币","State":1,"Index":1,"MtTaskFee":"1.0","TaskGold":"0.5","Unit":"元"},"2":{"TaskContent":"累计赢取10万金币","State":0,"Index":2,"MtTaskFee":"2.0","TaskGold":"0.9","Unit":"元"},"3":{"TaskContent":"累计赢取50万金币","State":0,"Index":3,"MtTaskFee":"3.0","TaskGold":"1.3","Unit":"元"},"4":{"TaskContent":"累计赢取100万金币","State":0,"Index":4,"MtTaskFee":"4.0","TaskGold":"1.8","Unit":"元"},"5":{"TaskContent":"累计赢取300万金币","State":0,"Index":5,"MtTaskFee":"8.0","TaskGold":"3.6","Unit":"元"},"6":{"TaskContent":"累计赢取600万金币","State":0,"Index":6,"MtTaskFee":"15.0","TaskGold":"6.7","Unit":"元"},"7":{"TaskContent":"累计赢取1200万金币","State":0,"Index":7,"MtTaskFee":"30.0","TaskGold":"13.5","Unit":"元"},"8":{"TaskContent":"累计赢取3000万金币","State":0,"Index":8,"MtTaskFee":"40.0","TaskGold":"18.0","Unit":"元"},"9":{"TaskContent":"累计赢取6000万金币","State":0,"Index":9,"MtTaskFee":"60.0","TaskGold":"27.0","Unit":"元"},"10":{"TaskContent":"累计赢取1亿金币","State":0,"Index":10,"MtTaskFee":"120.0","TaskGold":"54.0","Unit":"元"},"11":{"TaskContent":"累计赢取3亿金币","State":0,"Index":11,"MtTaskFee":"500.0","TaskGold":"225.0","Unit":"元"},"12":{"TaskContent":"累计赢取6亿金币","State":0,"Index":12,"MtTaskFee":"600.0","TaskGold":"270.0","Unit":"元"},"13":{"TaskContent":"累计赢取15亿金币","State":0,"Index":13,"MtTaskFee":"1500.0","TaskGold":"675.0","Unit":"元"},"14":{"TaskContent":"累计赢取30亿金币","State":0,"Index":14,"MtTaskFee":"3000.0","TaskGold":"1350.0","Unit":"元"},"15":{"TaskContent":"累计赢取60亿金币","State":0,"Index":15,"MtTaskFee":"5000.0","TaskGold":"2250.0","Unit":"元"},"16":{"TaskContent":"累计赢取120亿金币","State":0,"Index":16,"MtTaskFee":"10000.0","TaskGold":"4500.0","Unit":"元"}}},{"Index":3,"Title":"充值奖励","Sort":100003,"List":{"1":{"TaskContent":"累计充值10元","State":1,"Index":1,"MtTaskFee":"2.0","TaskGold":"1.0","Unit":"元"},"2":{"TaskContent":"累计充值300元","State":0,"Index":2,"MtTaskFee":"30.0","TaskGold":"13.5","Unit":"元"},"3":{"TaskContent":"累计充值600元","State":0,"Index":3,"MtTaskFee":"50.0","TaskGold":"22.5","Unit":"元"}}},{"Index":4,"Title":"冲级赛","Sort":100004,"List":{"1":{"TaskContent":"累计赢取1亿金币前10名","State":1,"Index":1,"MtTaskFee":"60.0","TaskGold":"27.0","Unit":"元"},"2":{"TaskContent":"累计赢取3亿金币前10名","State":0,"Index":2,"MtTaskFee":"100.0","TaskGold":"45.0","Unit":"元"},"3":{"TaskContent":"累计赢取6亿金币前10名","State":0,"Index":3,"MtTaskFee":"200.0","TaskGold":"90.0","Unit":"元"},"4":{"TaskContent":"累计赢取15亿金币前10名","State":0,"Index":4,"MtTaskFee":"600.0","TaskGold":"270.0","Unit":"元"},"5":{"TaskContent":"累计赢取30亿金币前10名","State":0,"Index":5,"MtTaskFee":"1000.0","TaskGold":"450.0","Unit":"元"},"6":{"TaskContent":"累计赢取60亿金币前10名","State":0,"Index":6,"MtTaskFee":"1500.0","TaskGold":"675.0","Unit":"元"},"7":{"TaskContent":"累计赢取120亿金币前10名","State":0,"Index":7,"MtTaskFee":"4000.0","TaskGold":"1800.0","Unit":"元"}}}],"CanPlay":1}
     * errorMsg :
     */

    private int errorCode;
    private DataBean data;
    private String errorMsg;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public static class DataBean {
        /**
         * IDTask : 410
         * Logo : http://pic.zhuanke.cn/zhuanke_uploads/android_backend/20180920/20180920102103_zk_46275.png
         * AppName : 佰乐斗地主
         * CredentialID : com.yhxk.qpgame.yh1899
         * Content : {"0":"1、任务说明：支持老用户。请先下载安装注册帐号登录，登录成功后返回当前界面确认帐号信息，帐号显示才能获得奖励","2":"2、试玩范围：豪车俱乐部试玩房","4":"3、温馨提示：任务进行中期间请勿更换手机或者游戏帐号登录"}
         * OpenInstallGuide : false
         * MtTaskFeeSum : 28426.0
         * GoldSum : 12791.8
         * Unit : 元
         * UrlDownload : http://cdn.1689game.com/android/1689game_v1.3-3028.apk
         * Days : 13
         * AccountInfo : [{"Key":"用户ID","Val":"602271"},{"Key":"累计赢金","Val":"0"},{"Key":"游戏时间","Val":"386秒"},{"Key":"累计充值","Val":"0"}]
         * SubTaskList : [{"Index":1,"Title":"新手奖励","Sort":100001,"List":{"1":{"TaskContent":"下载注册并试玩5分钟","State":2,"Index":1,"MtTaskFee":"1.0","TaskGold":"0.5","Unit":"元"}}},{"Index":2,"Title":"赢金奖励","Sort":100002,"List":{"1":{"TaskContent":"累计赢取2万金币","State":1,"Index":1,"MtTaskFee":"1.0","TaskGold":"0.5","Unit":"元"},"2":{"TaskContent":"累计赢取10万金币","State":0,"Index":2,"MtTaskFee":"2.0","TaskGold":"0.9","Unit":"元"},"3":{"TaskContent":"累计赢取50万金币","State":0,"Index":3,"MtTaskFee":"3.0","TaskGold":"1.3","Unit":"元"},"4":{"TaskContent":"累计赢取100万金币","State":0,"Index":4,"MtTaskFee":"4.0","TaskGold":"1.8","Unit":"元"},"5":{"TaskContent":"累计赢取300万金币","State":0,"Index":5,"MtTaskFee":"8.0","TaskGold":"3.6","Unit":"元"},"6":{"TaskContent":"累计赢取600万金币","State":0,"Index":6,"MtTaskFee":"15.0","TaskGold":"6.7","Unit":"元"},"7":{"TaskContent":"累计赢取1200万金币","State":0,"Index":7,"MtTaskFee":"30.0","TaskGold":"13.5","Unit":"元"},"8":{"TaskContent":"累计赢取3000万金币","State":0,"Index":8,"MtTaskFee":"40.0","TaskGold":"18.0","Unit":"元"},"9":{"TaskContent":"累计赢取6000万金币","State":0,"Index":9,"MtTaskFee":"60.0","TaskGold":"27.0","Unit":"元"},"10":{"TaskContent":"累计赢取1亿金币","State":0,"Index":10,"MtTaskFee":"120.0","TaskGold":"54.0","Unit":"元"},"11":{"TaskContent":"累计赢取3亿金币","State":0,"Index":11,"MtTaskFee":"500.0","TaskGold":"225.0","Unit":"元"},"12":{"TaskContent":"累计赢取6亿金币","State":0,"Index":12,"MtTaskFee":"600.0","TaskGold":"270.0","Unit":"元"},"13":{"TaskContent":"累计赢取15亿金币","State":0,"Index":13,"MtTaskFee":"1500.0","TaskGold":"675.0","Unit":"元"},"14":{"TaskContent":"累计赢取30亿金币","State":0,"Index":14,"MtTaskFee":"3000.0","TaskGold":"1350.0","Unit":"元"},"15":{"TaskContent":"累计赢取60亿金币","State":0,"Index":15,"MtTaskFee":"5000.0","TaskGold":"2250.0","Unit":"元"},"16":{"TaskContent":"累计赢取120亿金币","State":0,"Index":16,"MtTaskFee":"10000.0","TaskGold":"4500.0","Unit":"元"}}},{"Index":3,"Title":"充值奖励","Sort":100003,"List":{"1":{"TaskContent":"累计充值10元","State":1,"Index":1,"MtTaskFee":"2.0","TaskGold":"1.0","Unit":"元"},"2":{"TaskContent":"累计充值300元","State":0,"Index":2,"MtTaskFee":"30.0","TaskGold":"13.5","Unit":"元"},"3":{"TaskContent":"累计充值600元","State":0,"Index":3,"MtTaskFee":"50.0","TaskGold":"22.5","Unit":"元"}}},{"Index":4,"Title":"冲级赛","Sort":100004,"List":{"1":{"TaskContent":"累计赢取1亿金币前10名","State":1,"Index":1,"MtTaskFee":"60.0","TaskGold":"27.0","Unit":"元"},"2":{"TaskContent":"累计赢取3亿金币前10名","State":0,"Index":2,"MtTaskFee":"100.0","TaskGold":"45.0","Unit":"元"},"3":{"TaskContent":"累计赢取6亿金币前10名","State":0,"Index":3,"MtTaskFee":"200.0","TaskGold":"90.0","Unit":"元"},"4":{"TaskContent":"累计赢取15亿金币前10名","State":0,"Index":4,"MtTaskFee":"600.0","TaskGold":"270.0","Unit":"元"},"5":{"TaskContent":"累计赢取30亿金币前10名","State":0,"Index":5,"MtTaskFee":"1000.0","TaskGold":"450.0","Unit":"元"},"6":{"TaskContent":"累计赢取60亿金币前10名","State":0,"Index":6,"MtTaskFee":"1500.0","TaskGold":"675.0","Unit":"元"},"7":{"TaskContent":"累计赢取120亿金币前10名","State":0,"Index":7,"MtTaskFee":"4000.0","TaskGold":"1800.0","Unit":"元"}}}]
         * CanPlay : 1
         */

        private int IDTask;
        private String Logo;
        private String AppName;
        private String CredentialID;
        //private ContentBean Content;
        private List<String> Raiders;
        private boolean OpenInstallGuide;
        private String MtTaskFeeSum;
        private String GoldSum;
        private String Unit;
        private String UrlDownload;
        private int Days;
        private int CanPlay;
        private List<AccountInfoBean> AccountInfo;
        private List<SubTaskListBean> SubTaskList;

        public int getIDTask() {
            return IDTask;
        }

        public void setIDTask(int IDTask) {
            this.IDTask = IDTask;
        }

        public String getLogo() {
            return Logo;
        }

        public void setLogo(String Logo) {
            this.Logo = Logo;
        }

        public String getAppName() {
            return AppName;
        }

        public void setAppName(String AppName) {
            this.AppName = AppName;
        }

        public String getCredentialID() {
            return CredentialID;
        }

        public void setCredentialID(String CredentialID) {
            this.CredentialID = CredentialID;
        }

        public List<String> getRaiders() {
            return Raiders;
        }

        public void setRaiders(List<String> Raiders) {
            this.Raiders = Raiders;
        }

        public boolean isOpenInstallGuide() {
            return OpenInstallGuide;
        }

        public void setOpenInstallGuide(boolean OpenInstallGuide) {
            this.OpenInstallGuide = OpenInstallGuide;
        }

        public String getMtTaskFeeSum() {
            return MtTaskFeeSum;
        }

        public void setMtTaskFeeSum(String MtTaskFeeSum) {
            this.MtTaskFeeSum = MtTaskFeeSum;
        }

        public String getGoldSum() {
            return GoldSum;
        }

        public void setGoldSum(String GoldSum) {
            this.GoldSum = GoldSum;
        }

        public String getUnit() {
            return Unit;
        }

        public void setUnit(String Unit) {
            this.Unit = Unit;
        }

        public String getUrlDownload() {
            return UrlDownload;
        }

        public void setUrlDownload(String UrlDownload) {
            this.UrlDownload = UrlDownload;
        }

        public int getDays() {
            return Days;
        }

        public void setDays(int Days) {
            this.Days = Days;
        }

        public int getCanPlay() {
            return CanPlay;
        }

        public void setCanPlay(int CanPlay) {
            this.CanPlay = CanPlay;
        }

        public List<AccountInfoBean> getAccountInfo() {
            return AccountInfo;
        }

        public void setAccountInfo(List<AccountInfoBean> AccountInfo) {
            this.AccountInfo = AccountInfo;
        }

        public List<SubTaskListBean> getSubTaskList() {
            return SubTaskList;
        }

        public void setSubTaskList(List<SubTaskListBean> SubTaskList) {
            this.SubTaskList = SubTaskList;
        }

        public static class ContentBean {
            /**
             * 0 : 1、任务说明：支持老用户。请先下载安装注册帐号登录，登录成功后返回当前界面确认帐号信息，帐号显示才能获得奖励
             * 2 : 2、试玩范围：豪车俱乐部试玩房
             * 4 : 3、温馨提示：任务进行中期间请勿更换手机或者游戏帐号登录
             */

            @SerializedName("0")
            private String _$0;
            @SerializedName("2")
            private String _$2;
            @SerializedName("4")
            private String _$4;

            public String get_$0() {
                return _$0;
            }

            public void set_$0(String _$0) {
                this._$0 = _$0;
            }

            public String get_$2() {
                return _$2;
            }

            public void set_$2(String _$2) {
                this._$2 = _$2;
            }

            public String get_$4() {
                return _$4;
            }

            public void set_$4(String _$4) {
                this._$4 = _$4;
            }
        }

        public static class AccountInfoBean {
            /**
             * Key : 用户ID
             * Val : 602271
             */

            private String Key;
            private String Val;

            public String getKey() {
                return Key;
            }

            public void setKey(String Key) {
                this.Key = Key;
            }

            public String getVal() {
                return Val;
            }

            public void setVal(String Val) {
                this.Val = Val;
            }
        }

        public static class SubTaskListBean {
            /**
             * Index : 1
             * Title : 新手奖励
             * Sort : 100001
             * List : {"1":{"TaskContent":"注册并玩任意游戏3分钟（新用户专享）","State":1,"Index":1,"MtTaskFee":"1.5","TaskGold":"0.7","Unit":""}}
             */

            private int Index;
            private String Title;
            private int Sort;
            private HashMap<String, Gbean> List;

            public int getIndex() {
                return Index;
            }

            public void setIndex(int Index) {
                this.Index = Index;
            }

            public String getTitle() {
                return Title;
            }

            public void setTitle(String Title) {
                this.Title = Title;
            }

            public int getSort() {
                return Sort;
            }

            public void setSort(int Sort) {
                this.Sort = Sort;
            }

            public HashMap<String, Gbean> getList() {
                return List;
            }

            public void setList(HashMap<String, Gbean> List) {
                this.List = List;
            }


        }

    }
}
